# myapp/forms.py
from django import forms
from .models import RegionMonthlyAwardCount2023, RegionMonthlyAwardAmount2023, RegionProjectCount, RegionAwardAmount2023


class RegionMonthlyAwardCount2023Form(forms.ModelForm):
    class Meta:
        model = RegionMonthlyAwardCount2023
        fields = ['month', 'region_1_award_count', 'region_2_award_count', 'region_3_award_count']


class RegionMonthlyAwardAmount2023Form(forms.ModelForm):
    class Meta:
        model = RegionMonthlyAwardAmount2023
        fields = ['month', 'region_1_award_amount', 'region_2_award_amount', 'region_3_award_amount']


class RegionProjectCountForm(forms.ModelForm):
    class Meta:
        model = RegionProjectCount
        fields = ['region', 'project_count']


class RegionAwardAmount2023Form(forms.ModelForm):
    class Meta:
        model = RegionAwardAmount2023
        fields = ['region', 'total_award_amount']